package com.namo.cchapi.service;

import com.namo.cchcommon.api.CommonResult;
import org.springframework.stereotype.Service;

/**
 * @author WangXin
 * @date 2021/3/31 21:22
 */
@Service
public interface FaceService {

    /**
     *
     * @param faceUrl
     * @param userId
     * @return
     */
    CommonResult addFace(String faceUrl, String userId);

    /**
     *
     * @param image1
     * @param image2
     * @return
     * @throws Exception
     */

    public Boolean matchFace(String image1, String image2) throws Exception;
}
